﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using W7Toshil.Entity;

namespace W7Toshil.DataAccess
{
    public interface ITransactionDao<T>
    {
        void Insert(T entity);

        void Update(T entity);

        void Delete(long id);

        T Get(long id);
        IList<T> FetchAll();

       // IList<T> FetchByCrietria(Expression expression);
    }
}
